package cn.leaf.factory;

/**
*
 * description: 珍珠奶茶工厂
 *
 * @author twinkle leaf
 * @version v1.0.0
 * @since 2021-07-14 23:30:55
 *
*/
public class PearlMilkTeaFactory extends AbstractDrinksFactory {

    public PearlMilkTeaFactory() {
        System.out.println("珍珠奶茶制作完成");
    }

    /**
     * 奶茶🥛
     * @return {@link Tea}
     */
    @Override
    public Tea createTea() {
        return new MilkTea();
    }

    /**
     * 珍珠
     * @return {@link Food}
     */
    @Override
    public Food createFood() {
        return new Pearl();
    }
}
